#pragma once

#define GetInst(ClassName) CSingleton<ClassName>::GetInstance() 

template<typename T>
class CSingleton
{
public:
	static T& GetInstance() {
		static T obj;
		return obj;
	}
private:
	CSingleton(void){};
	~CSingleton(void){};
};
